package org.jianfa.homework.user.service;

import org.jianfa.homework.user.model.JianfaToken;

public interface UserService {

    boolean isRegistered(String email);

    boolean register(String email, String password, String token);

    JianfaToken getJianfaToken(String token);

    boolean authenticate(String email, String password);

    boolean updateToken(String email, String token);
}
